<!--
 *
 * @Date: 2022-06-15 15:53:36
 * @LastEditTime: 2022-06-15 22:54:39
 * @LastEditors:
-->
<div class="flex flex-col h-screen bg-gray-200">
  <div class="w-full pt-6 pl-5 pr-5 h-4/5">
    <div class="h-full bg-white rounded">
      <div class="border-t-2 border-indigo-600 rounded-lg "></div>
      <div class="pt-4 pb-4 pl-5 text-lg font-bold text-blue-600 bg-white">注册</div>
      <div class="w-full border border-gray-100"></div>
      <ion-item>
        <ion-label position="stacked">校区</ion-label>
        <ion-input [(ngModel)]="info.rgCampus"></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">学号</ion-label>
        <ion-input [(ngModel)]="info.rgStuId" ></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">昵称</ion-label>
        <ion-input [(ngModel)]="info.rgName"></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">密码</ion-label>
        <ion-input [(ngModel)]="info.rgPw" type="password"></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">确认密码</ion-label>
        <ion-input  [(ngModel)]="confirmPW" type="password"></ion-input>
      </ion-item>
      <div class="flex items-center justify-start pt-4 pl-2">
        <CheckboxItem>
          统一注册
          <b class="font-normal text-blue-500 ">服务条款</b>
        </CheckboxItem>
      </div>
      <div class="mt-4 ml-6 mr-6">
        <div class="text-white bg-blue-600 " Button (onClick)="submit()">注册</div>
        <div class="w-full text-center mt-3">
          <a [routerLink]="'/user/login'" class="text-blue-600">已有账号？去登录</a>
        </div>
      </div>
    </div>
  </div>
</div>
